<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <title>爱心树</title>

    <link rel="icon" href="../favicon.png" />
    <link type="text/css" rel="stylesheet" href="./source/default.css" />
    <script type="text/javascript" src="./source/jquery.min.js"></script>
    <script type="text/javascript" src="./source/jscex.min.js"></script>
    <script type="text/javascript" src="./source/jscex-parser.js"></script>

    <style type="text/css"></style>
    <script>
      var lover = {}
      lover.info = {
        name: '龙臭臭亲启', //点开时爱心桃旁边的字
        year: 2017, //年份
        month: 7, //月
        day: 7, //日
        debug: false //是否开启调试模式（如果选是，则会弹窗提示为什么加载出错）
      }
    </script>
  </head>
  <body>
    <!-- 背景音乐部分 -->
    <audio id="loveBgm" src="../bg_music/WindyHill.mp3" loop="loop"></audio>

    <div id="main">
      <div id="error">
        本页面采用HTML5编辑，目前您的浏览器无法显示，请换成(<a
          href="http://dl.360safe.com/netunion/20140425/360se+14478+n4a1de2568d.exe"
          >360</a
        >) 或者火狐(<a href="http://firefox.com.cn/download/">Firefox</a
        >)浏览器，或者其他游览器的最新版本。
      </div>
      <div id="wrap">
        <div id="text">
          <div id="code">
            <span class="say">亲爱的龙臭臭</span><br />
            <span class="say"> </span><br />
            <span class="say">祝你节日快乐</span><br />
            <span class="say"> </span><br />
            <span class="say">愿你的每一天都充满阳光</span><br />
            <span class="say"> </span><br />
            <span class="say">每一刻都洋溢着幸福</span><br />
            <span class="say"> </span><br />
            <span class="say">你是我生命中最珍贵的礼物</span><br />
            <span class="say"> </span><br />
            <span class="say">谢谢你一直以来的陪伴和支持</span><br />
            <span class="say"> </span><br />
            <span class="say">希望你能幸福快乐，闪闪发光</span><br />
            <span class="say"> </span><br />
            <span class="say"> -- 永远爱你 --</span><br />
          </div>
        </div>
        <div id="clock-box">
          <span><font color="#666666">亲爱的，我们已经在一起</font></span>
          <div id="clock"></div>
        </div>
        <canvas id="canvas" width="1100" height="680"></canvas>
      </div>
    </div>

    <script type="text/javascript" src="./source/jscex-jit.js"></script>
    <script type="text/javascript" src="./source/jscex-builderbase.min.js"></script>
    <script type="text/javascript" src="./source/jscex-async.min.js"></script>
    <script type="text/javascript" src="./source/jscex-async-powerpack.min.js"></script>

    <script>
      window.onresize = function () {
        location.replace(location)
      }

      const backToMain = () => {
        let fromMain = new URLSearchParams(location.search).get('fromMain')
        if (fromMain) {
          history.back()
        } else {
          document.location.replace('../')
        }
      }
    </script>
    <script type="text/javascript" src="./source/functions.js" charset="utf-8"></script>
    <script type="text/javascript" src="./source/love.js" charset="utf-8"></script>
    <script type="text/javascript" src="./source/canvas.js" charset="utf-8"></script>

    <div style="position: fixed; left: 10px; top: 10px;">
      <span onclick="backToMain()" style="cursor: pointer;text-decoration:underline;">
        <img src="../favicon.png" style="height: 20px;vertical-align: middle;">以爱之名</span>
      <span>/</span>
      <span>爱心树</span>
    </div>
  </body>
</html>
